
(function(window,document,Laya){
	var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec;

	var CheckBox=laya.ui.CheckBox,ComboBox=laya.ui.ComboBox,Label=laya.ui.Label,PropsInputBase=laya.ide.props.PropsInputBase;
	var TextInput=laya.ui.TextInput;
	//file:///F:/LayaAir_Git/layaairide2/propsplugins/propplugins/src/laya/ide/props/LayaPhysics3D.as=======92.999945/92.999945
/**
*...
*@author
*/
//class laya.ide.props.LayaPhysics3D extends laya.ide.props.PropsInputBase
var LayaPhysics3D=(function(_super){
	function LayaPhysics3D(){
		this._$7_target=null;
		LayaPhysics3D.__super.call(this);
		this.useIDELabel=false;
	}

	__class(LayaPhysics3D,'laya.ide.props.LayaPhysics3D',_super);
	var __proto=LayaPhysics3D.prototype;
	__proto.setTarget=function(target){
		var _$this=this;
		_super.prototype.setTarget.call(this,target);
		this._$7_target=target;
		this.removeChildren();
		var enablePhysicsCheckBox=this.addChild(new CheckBox("comp/checkbox.png"));
		enablePhysicsCheckBox.label=" Enable Physics";
		enablePhysicsCheckBox.labelFont="Microsoft YaHei";
		enablePhysicsCheckBox.labelColors="#0F0F0F,#0F0F0F,#0F0F0F,#0F0F0F";
		enablePhysicsCheckBox.pos(0,5);
		enablePhysicsCheckBox.selected=true;
		enablePhysicsCheckBox.on("change",this,function(){
			_$this.height=enablePhysicsCheckBox.selected ? 600 :20;
		});
		this.height=enablePhysicsCheckBox.selected ? 600 :20;
		this.width=400;
		var physicsTypeLabel=this.addChild(new Label());
		physicsTypeLabel.text="Type";
		physicsTypeLabel.color="#0F0F0F";
		physicsTypeLabel.pos(0,30);
		var comboBox=this.addChild(new ComboBox("comp/combobox.png","Rigidbody3D,PhysicsCollider"));
		comboBox.width=100;
		comboBox.pos(80,30);
		var massLabel=this.addChild(new Label());
		massLabel.text="Mass";
		massLabel.color="#0F0F0F";
		massLabel.pos(0,55);
		var massInput=this.addChild(new TextInput());
		massInput.skin="comp/textinput.png";
		massInput.pos(80,55);
		var isKinematicLabel=this.addChild(new Label());
		isKinematicLabel.text="IsKinematic";
		isKinematicLabel.color="#0F0F0F";
		isKinematicLabel.pos(0,80);
		var isKinematicCheckBox=this.addChild(new CheckBox("comp/checkbox.png"));
		isKinematicCheckBox.pos(80,80);
	}

	__proto.initByConfig=function(configO){
		_super.prototype.initByConfig.call(this,configO);
	}

	LayaPhysics3D.__init$=function(){
		PropsInputBase.regPlugin("LayaPhysics3D",LayaPhysics3D);
	}

	return LayaPhysics3D;
})(PropsInputBase)


	Laya.__init([LayaPhysics3D]);
})(window,document,Laya);
